<?php
	# Defines core functions and includes required files
	# 2012-04-22
?>
<?php
    require_once("lang.php");
	require_once("api/database_api.php");
	include_once("api/print_api.php");
	require_once("api/date_api.php");
	
	function include_css()
	{
		print '<link rel="stylesheet" href="gui/css/style.css" type="text/css" />';
		
		/// Jumpeye Framework
		// Common CSS file for the tabs
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/tabs/JFTab.css"  type="text/css" />';
		// CSS file for style-5
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/tabs/JFTabStyle-6.css"  type="text/css" />';
		
		// Common CSS file for the panels
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/panels/JFPanel.css" />';
		// CSS file for style-8
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/panels/JFPanelStyle-8.css" />';
		// For IE8
		print '<!--[if lt IE 9]>';
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/JFIE.css"  type="text/css" />';
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/JFIE.css" />';
		print '<![endif]-->';
		// For IE9+
		print '<!--[if gte IE 9]>';
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/JFIE9.css"  type="text/css" />';
		print '<link rel="stylesheet" href="gui/css/JumpeyeFramework/framework/css/JFIE9.css" />';
		print '<![endif]-->';
	}
	
	function include_js()
	{
		/// Jumpeye Framework
		print '<script type="text/javascript" src="gui/css/JumpeyeFramework/framework/js/JFCore.js"></script>';

        // Own JavaScript code
        print '<script type="text/javascript" src="js/alljs.js"></script>';
		
		/*print '<script type="text/javascript" src="js/dropdown.js"></script>';
		print '<script type="text/javascript" src="js/jquery-172.js"></script>';
		print '<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>';
		print '<script src="gui/ui/development-bundle/external/jquery.bgiframe-2.1.2.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.core.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.widget.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.button.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.datepicker.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.dialog.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.mouse.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.resizable.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.selectable.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.sortable.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.accordion.js"></script>';
		print '<script src="gui/ui/development-bundle/ui/jquery.ui.tabs.js"></script>';
		print '<script src="gui/galleria/galleria-1.2.7.min.js"></script>';
		print '<script src="gui/galleria/themes/classic/galleria.classic.min.js"></script>';*/
	
		/*
		<script src="gui/ui/development-bundle/ui/jquery.ui.autocomplete.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.ui.draggable.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.ui.droppable.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.ui.position.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.ui.progressbar.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.ui.slider.js"></script>
		<script src="gui/ui/development-bundle/ui/jquery.effects.core.js"></script>*/
	}
?>